import pytest
from common.read_config_yaml import read_config_yaml
from common.LoggerUtil import LogUtils

@pytest.fixture()
def driver():
    '''
    fixture driver 被定义在conftest.py文件中，并且可以被test_agre.py和test_index.py两个测试文件共享
    '''
    LogUtils.info("读取配置文件----".format(read_config_yaml))
    return read_config_yaml()

